package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 停车费对象 parking_rate
 *
 * @author ruoyi
 * @date 2021-06-29
 */
public class ParkingRate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long prId;
    private Long publicUserId;

    /** 类型 */
    @Excel(name = "类型")
    private String prType;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String prCarnumber;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String prPhone;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date prStarttime;

    /** 所属小区 */
    @Excel(name = "所属小区")
    private Long companyId;
    @Excel(name = "所属小区")
    private String companyName;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date prEndtime;

    /** 订单生成地点 */
    @Excel(name = "订单生成地点")
    private String prAddress;
    /** 金额 */
    @Excel(name = "金额")
    private Double prMoney;

    /** 支付状态 */
    @Excel(name = "支付状态")
    private String prState;

    /** 现金支付宝微信 */
    @Excel(name = "现金支付宝微信")
    private String prMode;
    private BigDecimal prTime;

    /** 最近修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "最近修改时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date prUpdatetime;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date prCreatetime;

    /** 已开和未开 */
    @Excel(name = "已开和未开")
    private String prInvoice;

    public void setPrId(Long prId)
    {
        this.prId = prId;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public Long getPublicUserId() {
        return publicUserId;
    }

    public BigDecimal getPrTime() {
        return prTime;
    }

    public void setPrTime(BigDecimal prTime) {
        this.prTime = prTime;
    }

    public Double getPrMoney() {
        return prMoney;
    }

    public void setPrMoney(Double prMoney) {
        this.prMoney = prMoney;
    }

    public void setPublicUserId(Long publicUserId) {
        this.publicUserId = publicUserId;
    }

    public Long getPrId()
    {
        return prId;
    }
    public void setPrType(String prType)
    {
        this.prType = prType;
    }

    public String getPrType()
    {
        return prType;
    }
    public void setPrCarnumber(String prCarnumber)
    {
        this.prCarnumber = prCarnumber;
    }

    public String getPrCarnumber()
    {
        return prCarnumber;
    }
    public void setPrPhone(String prPhone)
    {
        this.prPhone = prPhone;
    }

    public String getPrPhone()
    {
        return prPhone;
    }
    public void setPrStarttime(Date prStarttime)
    {
        this.prStarttime = prStarttime;
    }

    public Date getPrStarttime()
    {
        return prStarttime;
    }
    public void setCompanyId(Long companyId)
    {
        this.companyId = companyId;
    }

    public Long getCompanyId()
    {
        return companyId;
    }
    public void setPrEndtime(Date prEndtime)
    {
        this.prEndtime = prEndtime;
    }

    public Date getPrEndtime()
    {
        return prEndtime;
    }
    public void setPrAddress(String prAddress)
    {
        this.prAddress = prAddress;
    }

    public String getPrAddress()
    {
        return prAddress;
    }
    public void setPrState(String prState)
    {
        this.prState = prState;
    }

    public String getPrState()
    {
        return prState;
    }
    public void setPrMode(String prMode)
    {
        this.prMode = prMode;
    }

    public String getPrMode()
    {
        return prMode;
    }
    public void setPrUpdatetime(Date prUpdatetime)
    {
        this.prUpdatetime = prUpdatetime;
    }

    public Date getPrUpdatetime()
    {
        return prUpdatetime;
    }
    public void setPrCreatetime(Date prCreatetime)
    {
        this.prCreatetime = prCreatetime;
    }

    public Date getPrCreatetime()
    {
        return prCreatetime;
    }
    public void setPrInvoice(String prInvoice)
    {
        this.prInvoice = prInvoice;
    }

    public String getPrInvoice()
    {
        return prInvoice;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("prId", getPrId())
                .append("prType", getPrType())
                .append("prCarnumber", getPrCarnumber())
                .append("prPhone", getPrPhone())
                .append("prStarttime", getPrStarttime())
                .append("companyId", getCompanyId())
                .append("prEndtime", getPrEndtime())
                .append("prAddress", getPrAddress())
                .append("prState", getPrState())
                .append("prMode", getPrMode())
                .append("prUpdatetime", getPrUpdatetime())
                .append("prCreatetime", getPrCreatetime())
                .append("prInvoice", getPrInvoice())
                .toString();
    }
}